// 列表数据字段
export const columns = [
    {
        title: "数据资产ID",
        dataIndex: "DataAssetsId",
        align: "center",
        width: '105px',
        filters: [
            {
                text: 'demo',
                value: 'demo',
            },
        ],
    },
    {
        title: "AppDepartment",
        dataIndex: "AppDepartment",
        align: "center",
        width: '120px',
        scopedSlots: {customRender: "appDepartmentAction"},
        filters: [
            {
                text: 'demo',
                value: 'demo',
            },
        ],
    },
    {
        title: "BmwAppId",
        dataIndex: "BmwAppId",
        align: "center",
        width: '120px',
        scopedSlots: {customRender: "BmwAppId"},
        filters: [
            {
                text: 'demo',
                value: 'demo',
            },
        ],
    },
    {
        title: "BbaAppId",
        dataIndex: "BbaAppId",
        align: "center",
        width: '120px',
        scopedSlots: {customRender: "BbaAppId"},
        filters: [
            {
                text: 'demo',
                value: 'demo',
            },
        ],
    },
    {
        title: "FeatherId",
        dataIndex: "FeatherId",
        align: "center",
        width: '120px',
        scopedSlots: {customRender: "FeatherId"},
        filters: [
            {
                text: 'demo',
                value: 'demo',
            },
        ],
    },
    {
        title: "APP负责人",
        dataIndex: "YtAdminName",
        align: "center",
        width: '110px',
        scopedSlots: {customRender: "appOwnerAction"},
        filters: [
            {
                text: 'demo',
                value: 'demo',
            },
        ],
    },
    {
        title: "数据控制者",
        dataIndex: "Controller",
        align: "center",
        width: '110px',
        scopedSlots: {customRender: "controllerAction"},
        filters: [
            {
                text: 'demo',
                value: 'demo',
            },
        ],
    },
    {
        title: "线上/线下",
        dataIndex: "DataLibraryEnvironment",
        align: "center",
        width: '100px',
        filters: [
            {
                text: 'demo',
                value: 'demo',
            },
        ],
    },
    {
        title: "数据详情",
        // dataIndex: "details",
        scopedSlots: {customRender: "details"},
        align: "center",
        width: '160px',
        filters: [
            {
                text: 'demo',
                value: 'demo',
            },
        ],
    },
    {
        title: "相关RPA",
        dataIndex: "RpaId",
        align: "center",
        className: 'min-w-150p',
        scopedSlots: {customRender: "rpaIdAction"},
        filters: [
            {
                text: 'demo',
                value: 'demo',
            },
        ],
    },
    {
        title: "状态",
        dataIndex: "DataLibraryState",
        align: "center",
        className: 'min-w-90p',
        scopedSlots: {customRender: "statusAction"},
        filters: [
            {
                text: 'demo',
                value: 'demo',
            },
        ],
    },
    {
        title: "操作",
        width: "140px",
        dataIndex: "",
        align: "center",
        fixed: 'right',
        scopedSlots: {customRender: "action"},
    },
];

// 数据详情里面的数据字段
export const columns1 = [
    {
        title: "数据项",
        scopedSlots: {customRender: 'DataItem'},
        dataIndex: "DataItem",
        width: "120px",
        align: 'center',
    },
    {
        title: "数据级别",
        dataIndex: "DataLevelStr",
        width: "120px",
        align: 'center',
    },
    {
        title: "数据敏感度",
        dataIndex: "DataSensitiveStr",
        align: 'center',
        width: "120px",
    },
    {
        title: "数据所在城市",
        dataIndex: "DataCity",
        align: 'center',
        scopedSlots: {customRender: "cityAction"},
    },
    {
        title: "数据存放地点",
        dataIndex: "DataDeposit",
        align: 'center',
        scopedSlots: {customRender: "depositAction"},
    },
    {
        title: "数据来源",
        dataIndex: "DataSource",
        align: 'center',
        scopedSlots: {customRender: "sourceAction"},
    },
    {
        title: "数据目的地",
        dataIndex: "DataDestination",
        align: 'center',
        scopedSlots: {customRender: "destinationAction"},
    },
];

// 导入数据数据分类分级内容
export const dccDiDataColumns = [
    {
        title: "数据项",
        dataIndex: "Items",
    },
    {
        title: "分类",
        scopedSlots: {customRender: 'dccAction'},
        width: "250px",
        dataIndex: "Classification",
    },
    {
        title: "匹配结果",
        dataIndex: "Result",
        scopedSlots: {customRender: 'matchAction'},
    },
];

// 数据详情查看
export const dataDetailRead = [
    {
        title: "数据项",
        dataIndex: "DataItem",
    },
    {
        title: "数据敏感度",
        dataIndex: "DataSensitive",
    },
    {
        title: "数据级别",
        dataIndex: "DataLevel",
    },
    {
        title: "保护级别",
        dataIndex: "ProtectionStr",
    }
];